package com.kfm.hotel.service;

import com.github.pagehelper.PageInfo;
import com.kfm.hotel.pojo.SysUser;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface SysUserService {

    SysUser login(SysUser sysUser);

    PageInfo<SysUser> list(Integer pageNumber, Integer pageSize, SysUser sysUser);

    int addUser(SysUser sysUser);

    int updateUser(SysUser sysUser);
}
